//
//  GeneralTool.h
//  jingjing2.0
//
//  Created by apple on 16/4/27.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface GeneralTool : NSObject
//获得时间戳
+(NSString*)gettimestamp;
//获得加密标志
+(NSString*)GetSin:(NSDictionary*)dict;
//验证邮箱
+ (BOOL) validateEmail:(NSString *)email;
//检验手机号格式
+ (NSString *)valiMobile:(NSString *)mobile;
//检验网络状态
+(NSString *)isConnectNet;
//加密
+(NSString *)md5UpStr: (NSString *) inPutText;
//隐藏标签栏
+(void)hideTabBar;
//显示标签栏
+(void)showTabBar;
//获取地址列表
+(void)getMyAddressListWithIsDefault:(NSString *)isDefault andReuqestBlock:(void(^)(id response,NSError * error))block;
+(void)getMyCouponWithIsCanUse:(NSString *)isCanUSe andPageIndex:(NSInteger)count andReuqestBlock:(void(^)(id response,NSError * error))block;
@end
